{% extends "generalTemplate.html" %}
{% block pageName %}Venture Funded Companies{% endblock %}

{% block queryScript %}
<script src="/bvapp/static/js/bioventurist.js" type="text/javascript"></script>
<script src="/bvapp/static/js/venture_financings.js" type="text/javascript"></script>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAPukT8vdX-9GHaeddb_T9XxQdwUW_lrS2P3w7zqRTJxdfml0W7hQE2JC34mbRmaRxg1y6cWlmwTWcAg&sensor=false" type="text/javascript"></script>
<script type="text/javascript" src="/bvmapapp/static/js/map.js"></script>
<script type="text/javascript" src="/bvmapapp/static/js/markerclusterer.js"></script>
<script type="text/javascript" src="/bvapp/static/js/ui.core.js"></script>
<script type="text/javascript" src="/bvapp/static/js/ui.tabs.js"></script>


	<script type="text/javascript">
	  $(document).ready(function(){
	    $("#tabbed-container > ul").tabs()
	  });
	</script>

<script language="javascript" type="text/javascript">

google.load("visualization", "1", {packages:["table"]});

function load_info() {

document.title = "BioVenturist - Venture Funded Companies";
$('#title').text("BioVenturist - Venture Funded Companies");
var url = "http://{{ domain_used }}/api/service/mqlread";

var q = get_q();
create_vc_financing_table(url, "financings_div", '{{ bioventurist_domain }}', q);

var q_investors = get_q_investors();
create_investor_table(url, "investors_div", '{{ bioventurist_domain }}', q_investors);

// Create the search suggest for the filter
//createCompanyFilter(bioventurist_dir, "company_filter", "company_filter_submit", 'map_div', url);
// Load the map
//loadMap(url, q);		


}
</script>
{% endblock %}

{% block container %}
<div id="main_col2">
   
   <div id="tabbed-container">
    <ul>
        <li><a href="#Date"><span>By Date</span></a></li>
        <li><a href="#Investors"><span>By Investors</span></a></li>            
    </ul>
    
    <div id="Date">
        <div id="financings_div"></div>
    </div>
    <div id="Investors">
    	<div id="investors_div"></div>
    </div>
   </div>
   
   	<!-- <h1><span>Map of Biotechnology Companies</span></h1>
	<hr></hr>
	<br/>
	<center>
		<p>
			Click a company to get a description of the company's area of technological expertise (eg. monoclonal antibodies)
			and their area of medical focus (eg. breast cancer).  
		</p>
	</center>
	
	<p>
		<center>
			<b>Filter companies by technology class (eg. monoclonal antibody) or area of medical focus (eg. breast cancer):</b>			
			<br></br>
			<input type="text" name="message" value="Monoclonal Antibody" id="company_filter"></input>
			<input type="hidden" value="/en/monoclonal_antibodies" id="company_filter_topic_id"></input>
			<input type="hidden" value="monoclonal antibody" id="company_filter_topic_name"></input>
			<input type="hidden" value="technology" id="company_filter_topic_type"></input>
			<input type="submit" id="company_filter_submit" value="GO!"></input>
		</center>
	</p>	
	
	<br/>	
	<center>
		<div id="map_div">
			<div id="map_container"></div>
			<div id="sidebar">
				<ol id="company_list"></ol>
			</div>
		</div>
		<div id="companies_no_headquarters"></div>
		<br/>
		<div id="edit_filter_topic"></div>
	</center>
-->

</div>		
{% endblock %}